package com.antler.smt.enums;

/**
 * 顶级权限枚举
 *
 * @author vic
 * @date 2018-04-17 0:25
 */
public enum TopPermissionEnum implements BaseEnum {
    /**
     * 目录
     */
    TopMenu(0, "顶级菜单");


    /**
     * 键
     */
    private int key;

    /**
     * 描述
     */
    private String desc;

    /**
     * 键
     *
     * @return
     */
    @Override
    public Integer key() {
        return key;
    }

    /**
     * 描述
     *
     * @return
     */
    @Override
    public String desc() {
        return desc;
    }

    TopPermissionEnum(final Integer key, final String desc) {
        this.key = key;
        this.desc = desc;
    }
}
